import request from "./request.js";

const loadGoods = function(params={}){
    return request.get("goods",{
        params
    })
}
const loadGoodDetail = function(goodId=""){
    return request.get(`goods/${goodId}`)
}

export default {
    loadGoods,loadGoodDetail
}